module.exports = {
  theme: "",
  title: "基于vue + ElementUI + ant-design业务组件库",
  base: "/",
  port: "8080",
  themeConfig: {
    nav: [
      // 配置顶部导航栏
      {
        text: "首页",
        link: "/",
      },
      {
        text: "组件",
        link: "/pages/",
      },
      {
        text: "前端面试指南",
        link: "/interview/",
      },
    ],
    sidebar: {
      '/pages/': [
        {
          title: "vuepress使用指南",
          collapsable: true,
          path: "/pages/",
          children: [
            {
              title: "vue-ui",
              collapsable: true,
              children: [
                {
                  title: "文字触摸显示",
                  path: "/pages/components/diff-table.md",
                },
                {
                  title: "文件导出",
                  path: "/pages/components/excelExport.md",
                },
                {
                  title: "DataDrawer抽屉",
                  path: "/pages/components/DataDrawer抽屉.md",
                },
                {
                  title: "DataDialogForm 弹窗表单",
                  path: "/pages/components/DataDialogForm弹窗表单.md",
                },
                {
                  title: "自定义列",
                  path: "/pages/components/自定义列column.md",
                },
                {
                  title: "checkbox选项框应用",
                  path: "/pages/components/checkbox选项框应用.md",
                }
              ]
            }
          ]
        },
      ],
      '/interview/': [
        {
          title: "前端面试指南",
          collapsable: true,
          path: "/interview/",
        }
      ]
    },
  },
  plugins: ["demo-container"], // 配置插件
  // base: "./"
}